package com.ftg.learn.comm.entity.question;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.learn.base.BaseEntity;

import java.io.Serializable;

/**
 *
 * 分类选择.
 *
 * <p>
 * 题干主表
 * </p>
 *
 * @author kangjx
 * @since 2022-11-13
 */
@SuppressWarnings("all")
@TableName("question_stem")
public class Stem extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题干主体，用来生成题的主体部分
     */
    private String stemContext;

    /**
     * 分数，[1,2,4]只能为三种分值，后期可修改为扩展，不过没有意义
     */
    private Byte stemScore;

    /**
     * 出题人信息，关联员工表，默认为当前登陆人员编号
     */
    private Integer empId;

    /**
     * 试题所属类目，关联题目类别表
     */
    private Integer typeId;

    /**
     * 试题解析，文字方向,后期可考虑单独出一张表做av解析
     */
    private String stemAnalysis;



    public String getStemContext() {
        return stemContext;
    }

    public void setStemContext(String stemContext) {
        this.stemContext = stemContext;
    }

    public Byte getStemScore() {
        return stemScore;
    }

    public void setStemScore(Byte stemScore) {
        this.stemScore = stemScore;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getStemAnalysis() {
        return stemAnalysis;
    }

    public void setStemAnalysis(String stemAnalysis) {
        this.stemAnalysis = stemAnalysis;
    }



    @Override
    public String toString() {
        return "Stem{" +
            ", stemContext = " + stemContext +
            ", stemScore = " + stemScore +
            ", empId = " + empId +
            ", typeId = " + typeId +
            ", stemAnalysis = " + stemAnalysis +
        "}";
    }
}
